import http from '@/service/http'
import type * as T from '@/types/api/index'
const followApi: T.IFollowApi = {
  list(data) {
    return http.post('/UserFollow/list', data)
  },
  add(data) {
    return http.post('/UserFollow/add', data)
  },
  cancel(data) {
    return http.post('/UserFollow/cancel', data)
  }
}

export default followApi
